package com.lg.winclient;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.util.StringUtils;

@Slf4j
@SpringBootApplication
public class DemoApplication {

	public static void main(String[] args) {
		log.info("spring boot begin");
		String arg = "liu";
//		if(!StringUtils.isEmpty(args[0])){
//			arg = args[0];
//		}

		//第一种 jdk client
		log.info("-args1 {}", arg);
		SpringApplication.run(DemoApplication.class, args);
		//MainFrame mainFrame = new MainFrame(arg);


		//第二种 nettyClient

		new NettyClient();

		log.info("spring boot end");
	}

}
